﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp2
{
    class Plane:Vehicle,Ifly
    {
        public override void CarryPassange()
        {
            Console.WriteLine("plane carrypassange");
        }

        public void fly()
        {
            Console.WriteLine("palne flying");
        }

        public void Land()
        {
            Console.WriteLine("palne land");
        }

        public void TakeOff()
        {
            Console.WriteLine("plane takeoff");
        }
        public void TakeOff()
        {
            Console.WriteLine("飞机在TakeOff");
        }
    }
}
